﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using MM.Common;

namespace MM.Model
{
    public class Rules : IReaderLoad
    {
        public void LoadData(IDataReader dr)
        {
            this.TaskType = dr["TaskType"].ToStringOr();
            this.Timer = dr["Timer"].ToStringOr();
        }

        /// <summary>
        /// 任务类型
        /// </summary>
        public string TaskType
        { get; set; }

        /// <summary>
        /// 联网时间间隔
        /// </summary>
        public string Timer
        { get; set; }

        public List<Task> LTask
        { get; set; }
    }
}
